.login-container {
  min-height: 100vh;
  background-color: #f8f8f8;
  display: flex;
  flex-direction: column;
  position: relative;
}

.logo-section {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 150px;
  margin-bottom: 200px;
}

.logo {
  text-align: center;
}

.logo-text {
  font-size: 88px;
  font-weight: bold;
  color: #1aad8a;
  letter-spacing: 4px;
}

.protocol-section {
  width: 100%;
  margin-bottom: 50px;
}

.checkbox-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 30px;
  flex-wrap: nowrap;
  max-width: 600px;
  margin: 0 auto;
}

.protocol-checkbox {
  margin-right: 12px;
  flex-shrink: 0;
}

/* 自定义圆形checkbox样式 */
.protocol-checkbox checkbox {
  transform: scale(0.8);
}

/* 针对小程序checkbox的圆形样式 */
.protocol-checkbox .wx-checkbox-input {
  border-radius: 50% !important;
  width: 24px !important;
  height: 24px !important;
  border: 2px solid #ddd !important;
  background-color: transparent !important;
}

.protocol-checkbox .wx-checkbox-input.wx-checkbox-input-checked {
  border-color: #1aad8a !important;
  background-color: #1aad8a !important;
}

.protocol-checkbox .wx-checkbox-input.wx-checkbox-input-checked::before {
  border-radius: 0;
  width: 12px;
  height: 12px;
  line-height: 12px;
  text-align: center;
  font-size: 10px;
  color: #fff;
  background: transparent;
  transform: translate(-50%, -50%) scale(1);
  left: 50%;
  top: 50%;
}

.protocol-text {
  font-size: 26px;
  color: #999;
  line-height: 1.6;
  text-align: left;
  flex: 1;
  max-width: none;
}

.protocol-link {
  color: #1aad8a;
  text-decoration: underline;
}

.login-buttons {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 80px;
}

.one-click-btn {
  width: 520px;
  max-width: 95%;
  height: 88px;
  background-color: #1aad8a !important;
  color: #fff !important;
  border-radius: 44px;
  font-size: 32px;
  font-weight: 500;
  border: none;
  line-height: 88px;
  text-align: center;
  margin-bottom: 50px;
}

.one-click-btn.disabled {
  background-color: #ccc !important;
  color: #999 !important;
}

.one-click-btn::after {
  border: none;
}

.phone-login-text {
  font-size: 32px;
  color: #999;
  text-decoration: underline;
}

.bottom-tip {
  position: absolute;
  bottom: 80px;
  width: 100%;
  left: 0;
  text-align: center;
  padding: 0 30px;
  box-sizing: border-box;
}

.tip-text {
  font-size: 24px;
  color: #ccc;
}

/* 授权模态框样式 */
.auth-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.auth-modal {
  width: 600px;
  max-width: 85%;
  background-color: #fff;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

.auth-modal-header {
  background-color: #1aad8a;
  padding: 40px 30px 30px;
  text-align: center;
  position: relative;
}

.auth-modal-title {
  color: #fff;
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 10px;
  display: block;
}

.auth-modal-subtitle {
  color: #fff;
  font-size: 28px;
  display: block;
}

.auth-modal-close {
  position: absolute;
  top: 20px;
  right: 30px;
  width: 40px;
  height: 40px;
  color: #fff;
  font-size: 40px;
  line-height: 40px;
  text-align: center;
  cursor: pointer;
}

.auth-modal-content {
  padding: 50px 40px;
  text-align: center;
}

.auth-modal-phone {
  color: #333;
  font-size: 32px;
  font-weight: 500;
  margin-bottom: 20px;
  display: block;
}

.auth-modal-phone-number {
  color: #333;
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 15px;
  display: block;
}

.auth-modal-desc {
  color: #999;
  font-size: 26px;
  display: block;
}

.auth-modal-buttons {
  display: flex;
  border-top: 1px solid #eee;
}

.auth-btn-allow, .auth-btn-cancel {
  flex: 1;
  height: 100px;
  font-size: 32px;
  border: none;
  background-color: #fff;
  color: #333;
  border-radius: 0;
  line-height: 100px;
  text-align: center;
}

.auth-btn-allow {
  color: #1aad8a;
  border-right: 1px solid #eee;
  font-weight: 500;
}

.auth-btn-cancel {
  color: #999;
}

.auth-btn-allow::after,
.auth-btn-cancel::after {
  border: none;
}

/* 头像昵称填写组件样式 */
.profile-form {
  margin-top: 30px;
  padding: 0 20px;
}

.avatar-section {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

.avatar-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: transparent;
  border: none;
  padding: 0;
}

.avatar-button::after {
  border: none;
}

.avatar-image {
  width: 120px;
  height: 120px;
  border-radius: 60px;
  border: 3px solid #1aad8a;
  background-color: #f5f5f5;
  margin-bottom: 10px;
}

.avatar-placeholder {
  width: 120px;
  height: 120px;
  border-radius: 60px;
  border: 3px solid #1aad8a;
  background-color: #f5f5f5;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-placeholder-text {
  font-size: 48px;
  color: #999;
}

.avatar-text {
  font-size: 24px;
  color: #1aad8a;
  font-weight: 500;
}

.nickname-section {
  display: flex;
  justify-content: center;
}

.nickname-input {
  width: 400px;
  height: 80px;
  border: 2px solid #1aad8a;
  border-radius: 40px;
  font-size: 28px;
  text-align: center;
  background-color: #fff;
  color: #333;
  padding: 0 30px;
}

.nickname-input::placeholder {
  color: #999;
}
